// import textPic from '../../imgs/text.png'

const iconEnum = [
    'mdi:account',
    'mdi:alert-circle',
    'mdi:arrow-down-thin',
    'mdi:arrow-right-thin',
    'mdi:arrow-up-thin',
    'mdi:arrow-left-thin',
]


export default {
    tab: 'basic',
    type: 'static',
    name: 'Icon',
    title: '图标组件',
    pic: '',
    width: 30,
    height: 30,
    data: {
        props: {
            // icon: {
            //     title: '图标名称',
            //     valueType: 'input',
            //     initialValue: 'mdi-light:home',
            // },
            icon: {
                title: '图标',
                valueType: 'radioButton',
                initialValue: iconEnum[0],
                valueEnum: iconEnum,
                // 上下布局， 默认为左右布局
                formItemProps: {
                    labelCol: { span: 24 },
                    wrapperCol: { span: 24} 
                }
            },
            color: {
                title: '图标颜色',
                valueType: 'color',
                initialValue: '#722ed1',
            },
        }
    },
}